package cn.xyinping.quartz.job;


import org.quartz.Job;
import org.quartz.JobDataMap;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Component;

/**
 * @author 27266
 * @desrciption 定时任务
 * @date 2021/11/9
 */
@Component
public class PrintTimeJob implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
       /* // 获取数据
        JobDataMap jobDataMap = jobExecutionContext.getJobDetail().getJobDataMap();

        String name = jobExecutionContext.getJobDetail().getKey().getName();
        System.out.println(name+ "红红火火恍恍惚惚"+jobDataMap.getString("param"));*/

    }


}
